package com.xca.znb.presenter;

import com.xca.znb.entity.Account;
import com.xca.znb.entity.User;
import com.xca.znb.model.imodel.IBilling;

import java.util.List;

public class BillingPresenter {
    private IBilling iBilling ;
    public BillingPresenter(IBilling iBilling){this.iBilling = iBilling ;}

    public List<Account> getAccountByPhone(String phone){
        return iBilling.getAccount(phone);
    }
    public User getUser(String phone){
        return iBilling.getUser(phone);
    }
}
